package com.hc.fdkforwarders.controller;

import com.hc.fdkforwarders.service.fegin.client.ForwardersApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/goods")
public class ForwarderController {

    @Autowired
    ForwardersApi forwardersApi;

    @GetMapping("/test/fegin")
    public String test(){
        String test = forwardersApi.test();
        return test;
    }



}
